<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>hg.plugins.pushblog.htmllib</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>hg.plugins.pushblog.htmllib</h1>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#HTMLStripper">HTMLStripper</a></td>
<td></td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr>
<td><a href="#GetAllclean">GetAllclean</a></td>
<td></td>
</tr><tr>
<td><a href="#GetFeedclean">GetFeedclean</a></td>
<td></td>
</tr><tr>
<td><a href="#decoding">decoding</a></td>
<td></td>
</tr><tr>
<td><a href="#do_endclean">do_endclean</a></td>
<td></td>
</tr><tr>
<td><a href="#do_imgclean">do_imgclean</a></td>
<td></td>
</tr><tr>
<td><a href="#do_midclean">do_midclean</a></td>
<td></td>
</tr><tr>
<td><a href="#do_str">do_str</a></td>
<td></td>
</tr><tr>
<td><a href="#encoding">encoding</a></td>
<td></td>
</tr><tr>
<td><a href="#geturl">geturl</a></td>
<td></td>
</tr><tr>
<td><a href="#parsehtml">parsehtml</a></td>
<td></td>
</tr>
</table>
<hr /><hr />
<a NAME="HTMLStripper" ID="HTMLStripper"></a>
<h2>HTMLStripper</h2>

<h3>Derived from</h3>
HTMLParser
<h3>Class Attributes</h3>
<table>
<tr><td>text</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#HTMLStripper.__init__">HTMLStripper</a></td>
<td></td>
</tr><tr>
<td><a href="#HTMLStripper.get_data">get_data</a></td>
<td></td>
</tr><tr>
<td><a href="#HTMLStripper.get_edata">get_edata</a></td>
<td></td>
</tr><tr>
<td><a href="#HTMLStripper.handle_data">handle_data</a></td>
<td></td>
</tr>
</table>
<a NAME="HTMLStripper.__init__" ID="HTMLStripper.__init__"></a>
<h4>HTMLStripper (Constructor)</h4>
<b>HTMLStripper</b>(<i></i>)
<a NAME="HTMLStripper.get_data" ID="HTMLStripper.get_data"></a>
<h4>HTMLStripper.get_data</h4>
<b>get_data</b>(<i></i>)
<a NAME="HTMLStripper.get_edata" ID="HTMLStripper.get_edata"></a>
<h4>HTMLStripper.get_edata</h4>
<b>get_edata</b>(<i></i>)
<a NAME="HTMLStripper.handle_data" ID="HTMLStripper.handle_data"></a>
<h4>HTMLStripper.handle_data</h4>
<b>handle_data</b>(<i>d</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="GetAllclean" ID="GetAllclean"></a>
<h2>GetAllclean</h2>
<b>GetAllclean</b>(<i>mid_target, end_target, url, soup, open=None</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="GetFeedclean" ID="GetFeedclean"></a>
<h2>GetFeedclean</h2>
<b>GetFeedclean</b>(<i>url, pagehtml</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="decoding" ID="decoding"></a>
<h2>decoding</h2>
<b>decoding</b>(<i>s</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="do_endclean" ID="do_endclean"></a>
<h2>do_endclean</h2>
<b>do_endclean</b>(<i>end_target, soup</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="do_imgclean" ID="do_imgclean"></a>
<h2>do_imgclean</h2>
<b>do_imgclean</b>(<i>url, soup</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="do_midclean" ID="do_midclean"></a>
<h2>do_midclean</h2>
<b>do_midclean</b>(<i>mid_target, soup</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="do_str" ID="do_str"></a>
<h2>do_str</h2>
<b>do_str</b>(<i>soup</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="encoding" ID="encoding"></a>
<h2>encoding</h2>
<b>encoding</b>(<i>s, dtype=None, ftype=False</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="geturl" ID="geturl"></a>
<h2>geturl</h2>
<b>geturl</b>(<i>url</i>)

<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="parsehtml" ID="parsehtml"></a>
<h2>parsehtml</h2>
<b>parsehtml</b>(<i>html_content, feed_url, url, start_target, mid_target, end_target</i>)

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>